﻿/*
 * XParam
 * 
 * initial implementation : 5.12.2008
 *
 * Copyright (c) Adam Sida, asida@centrum.cz.
 * All rights reserved.
 * 
 * for license see Petra.Gis.License.txt
 */
using System;
using System.Runtime.Serialization;


namespace Petra.Gis.ReferenceSystemServices
{

  /// <summary>
  /// helper structure (syntactic sugar)
  /// when creating coordinate system or transform
  /// sometimes instead KeyValuePair<string, double>() use XParam() is needed
  /// </summary>
  [DataContract]
  public struct XParam
  {

    public XParam(string key, double value)
    {
      Key = key;
      Value = value;
    }

    [DataMember]
    public string Key;

    [DataMember]
    public double Value;

  }
}
